c# .net calculate md5

82

c# .net calculate md5 -

using (var md5 = MD5.Create())
{
    using (var stream = File.OpenRead(filename))
    {
        return md5.ComputeHash(stream);
    }
}

Comments

Submit
0 Comments